<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%String path = request.getContextPath() ;%>
<%@ taglib uri="/WEB-INF/tld/c.tld" prefix="c" %> 
<!DOCTYPE html>
<html lang="zh-CN" >
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>融资租赁公司信息</title>
<jsp:include page="../../import.jsp" flush="true" />
</head>

<body class="iframeBody">
<div class="Wrapper">
<div>
    <div>
        <div id="form1">
            <form id="formSet1">
                <table class="sq-formTable">
                    <tbody>
                        <tr>
                            <td colspan="2" class="caption"><div class="inR">基本信息
                            </div></td>
                        </tr>
                        <tr>
                            <td style="padding: 0;">
                                <table class="sq-formTable no-border">
                                    <tbody>
                                        <tr>
                                            <td class="tbLabel"><div class="label">隶属</div></td>
                                            <td>
                                                <div class="field">
                                                   <%--  ${SysFlCompInfo.compLvlCdNm } --%>
                                                    <span id="compLvlCdNm" name="compLvlCdNm"></span>
                                                </div>
                                            </td>
                                            <td class="tbLabel"><div class="label">中文全称</div></td>
                                            <td>
                                                <div class="field">
                                                	<%--  ${SysFlCompInfo.fulNm } --%>
                                                	 <span id="fulNm" name="fulNm"></span>
                                                </div>
                                            </td>
                                            <td class="tbLabel"><div class="label">中文简称</div></td>
                                            <td>
                                                <div class="field">
                                                	<%-- ${SysFlCompInfo.shtNm } --%>
                                                	<span id="shtNm" name="shtNm"></span>
                                                </div>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td class="tbLabel"><div class="label">英文名称</div></td>
                                            <td>
                                                <div class="field">
                                                	<%-- ${SysFlCompInfo.engNm } --%>
                                                	<span id="engNm" name="engNm"></span>
                                                </div>
                                            </td>
                                            <td class="tbLabel"><div class="label">公司隶属</div></td>
                                            <td>
                                                <div class="field">
                                                   <%--  ${SysFlCompInfo.compPropCdNm } --%>
                                                    <span id="compPropCdNm" name="compPropCdNm"></span>
                                                </div>
                                            </td>
                                            <td class="tbLabel"><div class="label">公司性质</div></td>
                                            <td>
                                                <div class="field">
                                                    <%--  ${SysFlCompInfo.compTypCdNm } --%>
                                                     <span id="compTypCdNm" name="compTypCdNm"></span>
                                                </div>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td class="tbLabel"><div class="label">公司规模</div></td>
                                            <td>
                                                <div class="field">
                                                    <%-- ${SysFlCompInfo.empQtyCdNm } --%>
                                                    <span id="empQtyCdNm" name="empQtyCdNm"></span>
                                                </div>
                                            </td>
                                            <td class="tbLabel"><div class="label">成立日期</div></td>
                                            <td>
                                                <div class="field" id="we">
                                               		<%-- ${SysFlCompInfo.regDt } --%>
                                               		<span id="regDt" name="regDt"></span>
                                                </div>
                                            </td>
                                            <td class="tbLabel"><div class="label">营业期限</div></td>
                                            <td>
                                                <div class="field">
                                                	<%-- ${SysFlCompInfo.expDt } --%>
                                                	<span id="expDt" name="expDt"></span>
                                                </div>
                                            </td>
                                        </tr>
                                        <tr>
                                          <td class="tbLabel"><div class="label">营业执照</div></td>
                                            <td>
                                                <div class="field">
                                                	<%-- ${SysFlCompInfo.bizLicNo } --%>
                                                	<span id="bizLicNo" name="bizLicNo"></span>
                                                </div>
                                            </td>
                                            <td class="tbLabel"><div class="label">税务登记证</div></td>
                                            <td>
                                                <div class="field">
                                                	<%-- ${SysFlCompInfo.taxRegNo } --%>
                                                	<span id="taxRegNo" name="taxRegNo"></span>
                                                </div>
                                            </td>
                                            <td class="tbLabel"><div class="label">组织机构代码证</div></td>
                                            <td>
                                                <div class="field">
                                                	<%-- ${SysFlCompInfo.orgCode } --%>
                                                	<span id="orgCode" name="orgCode"></span>
                                                </div>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td class="tbLabel"><div class="label">经营范围</div></td>
                                            <td>
                                                <div class="field">
                                                	<%-- ${SysFlCompInfo.bizScope } --%>
                                                	<span id="bizScope" name="bizScope"></span>
                                                </div>
                                            </td>
                                            <td class="tbLabel"><div class="label">注册资本(万元)</div></td>
                                            <td>
                                                <div class="field">
                                                	<%-- ${SysFlCompInfo.regCapAmt } --%>
                                                	<span id="regCapAmt" name="regCapAmt"></span>
                                                </div>
                                            </td>
                                            <td class="tbLabel"><div class="label">注册电话</div></td>
                                            <td>
                                                <div class="field">
                                                	<%-- ${SysFlCompInfo.compTel } --%>
                                                	<span id="compTel" name="compTel"></span>
                                                </div>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td class="tbLabel"><div class="label">传真</div></td>
                                            <td>
                                                <div class="field">
                                                	<%-- ${SysFlCompInfo.compTax } --%>
                                                	<span id="compTax" name="compTax"></span>
                                                </div>
                                            </td>
                                            <td class="tbLabel"><div class="label">注册地址</div></td>
                                            <td>
                                                <div class="field">
                                                	<%-- ${SysFlCompInfo.regAddr } --%>
                                                	<span id="regAddr" name="regAddr"></span>
                                                </div>
                                            </td>
                                            <td class="tbLabel"><div class="label">实际办公地址</div></td>
                                            <td>
                                                <div class="field">
                                                	<%-- ${SysFlCompInfo.officeAddr } --%>
                                                	<span id="officeAddr" name="officeAddr"></span>
                                                </div>
                                            </td>
                                       
                                        <tr>
                                            <td class="tbLabel"><div class="label">备注</div></td>
                                            <td colspan="5">
                                                <div class="field">
                                                	<%-- ${SysFlCompInfo.compRem } --%>
                                                	<span id="compRem" name="compRem"></span>
                                                </div>
                                            </td>
                                         </tr>
                                        
                                    </tbody>
                                </table>
                            </td>
                        </tr>
                       
                        <tr>
                            <td colspan="2" class="caption"><div class="inR">法人/联系人信息
                            </div></td>
                        </tr>
                        <tr>
                            
                            <td style="padding: 0;">
                                <table class="sq-formTable no-border">
                                    <tbody>
                                        <tr>
                                            <td class="tbLabel noBgColor">法人姓名</td>
                                            <td>
                                                <div class="field">
                                                	<%-- ${SysFlCompInfo.repNm } --%>
                                                	<span id="repNm" name="repNm"></span>
                                                </div>
                                            </td>
                                            <td class="tbLabel noBgColor">法人身份证码</td>
                                            <td>
                                                <div class="field">
                                                	<%-- ${SysFlCompInfo.repIdNum } --%>
                                                	<span id="repIdNum" name="repIdNum"></span>
                                                </div>
                                            </td>
                                            <td class="tbLabel noBgColor">法人办公电话</td>
                                            <td>
                                                <div class="field">
                                                	<%-- ${SysFlCompInfo.repOfficTel } --%>
                                                	<span id="repOfficTel" name="repOfficTel"></span>
                                                </div>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td class="tbLabel noBgColor">法人常住地址</td>
                                            <td>
                                                <div class="field">
                                                	<%-- ${SysFlCompInfo.repAddr } --%>
                                                	<span id="repAddr" name="repAddr"></span>
                                                </div>
                                            </td>
                                            <td class="tbLabel noBgColor">法人手机号码</td>
                                            <td>
                                                <div class="field">
                                                	<%-- ${SysFlCompInfo.repMp } --%>
                                                	<span id="repMp" name="repMp"></span>
                                                </div>
                                            </td>
                                           
                                        </tr>
                                        <tr>
                                            <td class="tbLabel noBgColor">联系人姓名</td>
                                            <td>
                                                <div class="field">
                                                	<%-- ${SysFlCompInfo.lmNm } --%>
                                                	<span id="lmNm" name="lmNm"></span>
                                                </div>
                                            </td>
                                            <td class="tbLabel noBgColor">联系人身份证码</td>
                                            <td>
                                                <div class="field">
                                                	<%-- ${SysFlCompInfo.lmIdNum } --%>
                                                	<span id="lmIdNum" name="lmIdNum"></span>
                                                </div>
                                            </td>
                                            
                                        </tr>
                                        <tr>
                                            <td class="tbLabel noBgColor">联系人常驻地址</td>
                                            <td>
                                                <div class="field">
                                                	<%-- ${SysFlCompInfo.lmAddr } --%>
                                                	<span id="lmAddr" name="lmAddr"></span>
                                                </div>
                                            </td>
                                            <td class="tbLabel noBgColor">联系人手机号码</td>
                                            <td>
                                                <div class="field">
                                                	<%-- ${SysFlCompInfo.lmMp } --%>
                                                	<span id="lmMp" name="lmMp"></span>
                                                </div>
                                            </td>
                                            
                                        </tr>
                                    </tbody>
                                </table>
                            </td>
                        </tr>
                        
                    </tbody>
                </table>
                	<!-- hide data -->
					<div class="fieldBox col_100" style="display:none;" >
					  <div class="field">
					      <input name="scpId" id="scpId" type="text" class="ui-textbox" value="${scpId }">
					  </div>
					</div>
            </form>
        </div>
    </div>
</div>
</div>

<script type="text/javascript">


		$(function() {
		     initData();
			});


		function initData(){
			var scpId = $("#scpId").val();
			
	    	if(!scpId)return;
			$.ajax({
				type: 'get',
				dataType:'json',
				data:{id:scpId},
				url:'<%=path%>/system/sysFlCompInfo/getById.do', 
				success:function(msg){
					 if(msg.success == 1){
						 setData(msg.data);//设置数据
					 }else{
						 top.$.ligerDialog.SQalert({content: msg.info,SQ_type: "error"});
					 }
				}
			});
		}
		
		//设置页面数据
		 function setData(data){
			$("#empQtyCdNm").html(data.empQtyCdNm);
			$("#compTypCdNm").html(data.compTypCdNm);
			$("#compPropCdNm").html(data.compPropCdNm);
			$("#compLvlCdNm").html(data.compLvlCdNm);
			$("#fulNm").html(data.fulNm);
			$("#shtNm").html(data.shtNm);
			$("#engNm").html(data.engNm);
			$("#bizLicNo").html(data.bizLicNo);
			$("#taxRegNo").html(data.taxRegNo);
			$("#orgCode").html(data.orgCode);
			$("#bizScope").html(data.bizScope);
			$("#regCapAmt").html(data.regCapAmt);
			$("#compTel").html(data.compTel);
			$("#compTax").html(data.compTax);
			$("#regAddr").html(data.regAddr);
			$("#officeAddr").html(data.officeAddr);
			$("#compRem").html(data.compRem);
			$("#repNm").html(data.repNm);
			$("#repIdNum").html(data.repIdNum);
			$("#repOfficTel").html(data.repOfficTel);
			$("#repAddr").html(data.repAddr);
			$("#repMp").html(data.repMp);
			$("#lmNm").html(data.lmNm);
			$("#lmIdNum").html(data.lmIdNum);
			$("#lmAddr").html(data.lmAddr);
			$("#lmMp").html(data.lmMp);
			if(data.regDt){
				var date = new Date(data.regDt);
				var dateStr = DateUtils.formatDate(date, DateUtils.YYYY_MM_DD);
				$("#regDt").html(dateStr);
			}
			if(data.expDt){
				var date = new Date(data.expDt);
				var dateStr = DateUtils.formatDate(date, DateUtils.YYYY_MM_DD);
				$("#expDt").html(dateStr);
			}
		}; 
</script>



</body>
</html>
